/* 
 * File:   Tower.h
 * Author: Dwarf
 *
 * Created on 3. říjen 2011, 14:46
 */

#ifndef TOWER_H
#define	TOWER_H

#include <vector>
#include "structs.h"

class Tower {
private:    
    vector<int> Disks;
    
public:
    Tower(vector<int>,int);
    Tower();
    ~Tower();
    void clear();
    void print();
    void print(ostream&);
    bool add(int);
    void remove();
    bool isEmpty();
    bool isComplete(int n);
    void decompose(int*);
    int lastDisc();
    int size;
    int number;
    
};

#endif	/* TOWER_H */

